package com.example.ssmxuankeback.interfaces;

import com.example.ssmxuankeback.dto.UserDTO;
import com.example.ssmxuankeback.entity.User;
import com.example.ssmxuankeback.vo.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface IUserMapper {
    IUserMapper INSTANCT = Mappers.getMapper(IUserMapper.class);
    User dtoToEntity(UserDTO userDTO);
    UserVO entityToVO(User user);
}
